-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Torch-Tensorrt Integration with LightningModule #20808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ensorrt # Conflicts: # src/lightning/pytorch/core/module.py
Hi @Borda , friendly ping for a code review~ btw, I'm wondering if anyone could help me with the unittests during the ci, since there's compatibility problem when testing with the oldest torch 2.1.2 and torch-tensorrt. I'd love to help with solving this problem if there's any suggestion. |
I just saw that there's a utility script from https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py, which would figure out the mapping between But I think extending the mapping only allow the lightning to install |
d1eec19
to
af70c86
Compare
Somehow |
The failure in the GPU test is due to pytorch/TensorRT#3775 |
What does this PR do?
Fixes #11438
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:
Reviewer checklist
📚 Documentation preview 📚: https://pytorch-lightning--20808.org.readthedocs.build/en/20808/